﻿using Ekton_Manage_DomainCore.Aggregate;
using Ekton_Manage_IBusiness;
using Ekton_Manage_InfrastructureCore.Common;
using Ekton_Manage_Mapper.EntityMappers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ekton_Manage_Business
{
    public class SelectUsrtList : ISelectUserList
    {
        private readonly SelectUserListMapper _selectUserList;

        public SelectUsrtList(SelectUserListMapper selectUserList)
        {
            _selectUserList = selectUserList;
        }

        public async Task<user_list> SelectUserList(QueryDataParame query)
        {
          //  var result = await _selectUserList.QueryPageData(query, m => true);
            throw new NotImplementedException();
        }

        public async Task<user_order> GetUserOrderList(int order_id)
        {
            var result = await _selectUserList.QuerySingleData(order_id);
            throw new NotImplementedException();
        }
    }
}
